package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 提现记录表
 * @Author: jeecg-boot
 * @Date:   2023-09-07
 * @Version: V1.0
 */
@Data
@TableName("ysy_withdraw_log")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ysy_withdraw_log对象", description="提现记录表")
public class YsyWithdrawLog {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**所属用户*/
	@Excel(name = "所属用户", width = 15)
    @ApiModelProperty(value = "所属用户")
	private String userId;
	/**提现金额*/
	@Excel(name = "提现金额", width = 15)
    @ApiModelProperty(value = "提现金额")
	private java.math.BigDecimal money;
	/**提现时间*/
	@Excel(name = "提现时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "提现时间")
	private Date createTime;
	/**审核状态：0-未审核，1-审核通过，2-审核失败*/
	@Excel(name = "审核状态：0-未审核，1-审核通过，2-审核失败", width = 15)
    @ApiModelProperty(value = "审核状态：0-未审核，1-审核通过，2-审核失败")
	private Integer status;
	/**拒绝原因*/
	@Excel(name = "拒绝原因", width = 15)
    @ApiModelProperty(value = "拒绝原因")
	private String rejectReason;
	/**审核时间*/
	@Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
	private Date updateTime;
	/**实际到账金额*/
	@Excel(name = "实际到账金额", width = 15)
	@ApiModelProperty(value = "实际到账金额")
	private BigDecimal actualPrice;
	/**扣除手续费*/
	@Excel(name = "扣除手续费", width = 15)
	@ApiModelProperty(value = "扣除手续费")
	private BigDecimal commission;

	@ApiModelProperty(value = "银行卡卡号")
	private String yhkNum;

	@ApiModelProperty(value = "银行卡开户行")
	private String yhkKhh;

	@ApiModelProperty(value = "银行卡预留手机号")
	private String yhkPhone;

	@ApiModelProperty(value = "银行卡预留姓名")
	private String yhkUserName;

	/**所属用户*/
	@Excel(name = "用户昵称", width = 15)
	@ApiModelProperty(value = "用户昵称")
	private String userName;
	/**所属用户*/
	@Excel(name = "用户手机号", width = 15)
	@ApiModelProperty(value = "用户手机号")
	private String userPhone;

}
